#ifndef KEYSTRING_H
#define KEYSTRING_H

#include <QMap>

class KeyString
{
public:
    KeyString();
    QString key2String(Qt::Key key, Qt::KeyboardModifiers mod);
    void string2Key(QString& str, Qt::Key& key, Qt::KeyboardModifiers& mod);

private:
    QMap<Qt::Key, QString> mKeyMap;
};

#endif // KEYSTRING_H
